import Vue from 'vue'
import App from './components/App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(ElementUI)

// 引入axios
import axios from 'axios'
Vue.prototype.$axios = axios  //把axios配到vue原型中，所有组件都可以使用

Vue.config.productionTip = false


new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
